const promise = new Promise((resolve, reject) => {
    console.info("1")
    setTimeout(() => {
        console.log('2')
        resolve('success')
        console.log('3')
    }, 100)
})

promise.then((res)=> {
    console.info(res)
})

console.info("4")

/**
 * 1,4, 2,3, success
 */